package com.jiuair.cloud.data.revenue.service;


import com.jiuair.cloud.data.revenue.entity.UsrUser;
import com.jiuair.cloud.data.revenue.mybatis.base.service.IBaseService;
import com.jiuair.cloud.data.revenue.vo.LoginUserDTO;
import com.jiuair.cloud.data.revenue.vo.ResponseVO;

import java.io.UnsupportedEncodingException;
import java.security.NoSuchAlgorithmException;

/**
 * 用户信息表 服务类
 *
 * @author deng
 * @date 2020-08-27
 */
public interface UsrUserService extends IBaseService<UsrUser> {

    UsrUser findUserByAccount(String username);

    ResponseVO login(LoginUserDTO loginUserDTO) throws UnsupportedEncodingException, NoSuchAlgorithmException;
}
